<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: wpj
  Date: 2015/3/26
  Time: 21:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>
<h1>首页啦</h1>
<a href="./j_spring_security_logout">退出</a>
<a href="/user/admin">访问管理员</a>
<a href="/user/common">一般页面</a>
<form:form action="/admin/get" method="post">
  <button type="submit">tijian</button>

  <input type="hidden"
         name="${_csrf.parameterName}"
         value="${_csrf.token}"/></form:form>
</body>
</html>
